<template>
	<div class="city-hot">
		<div class="hot-title">热门城市</div>
		<ul class="hot-list">
			<li v-for="(item,index) in hotCities">{{item.name}}</li>
		</ul>
	</div>
</template>

<script>
	export default {
		props:['hotCities'],
		data() {
			return {
				
			}
		},
	}
</script>

<style scoped >
	.city-hot{
		width: 100%;
		font-size: 0.28rem;
	}
	.hot-title{
		padding: 0.2rem 0.3rem;
		text-align: left;
	}
	.hot-list{
		background-color: white;
		color: #212121;
		position: relative;
		overflow: hidden;
	}
	.hot-list:before{
		content: "";
		position: absolute;
		border-left: 1px solid #ddd;
		border-right: 1px solid #ddd;
		width: 33.33%;
		height: 100%;
		left: 33.33%;
	}
	.hot-list li{
		width: 33.33%;
		height: 0.9rem;/*45px*/
		float: left;
		line-height: 0.9rem;
		border-bottom: 1px solid #ddd;
	}
</style>
